projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
329feff
)
Autoload the 'rx' pcase macroexpander (bug#44807)
author
Mattias Engdegård
<mattiase@acm.org>
Tue, 24 Nov 2020 09:37:37 +0000
(10:37 +0100)
committer
Mattias Engdegård
<mattiase@acm.org>
Tue, 24 Nov 2020 09:37:37 +0000
(10:37 +0100)
* lisp/emacs-lisp/rx.el (rx--pcase-macroexpander]): Autoload.
lisp/emacs-lisp/rx.el
patch
|
blob
|
history
diff --git
a/lisp/emacs-lisp/rx.el
b/lisp/emacs-lisp/rx.el
index 76c3ac31b859e8d28c3b84a16fc73cddea647407..6d33299e20219afd29fd79729a4f2bcc07cf558a 100644
(file)
--- a/
lisp/emacs-lisp/rx.el
+++ b/
lisp/emacs-lisp/rx.el
@@
-1418,6
+1418,7
@@
into a plain rx-expression, collecting names into `rx--pcase-vars'."
(cons head (mapcar #'rx--pcase-transform rest)))
(_ rx)))
+;;;###autoload
(pcase-defmacro rx (&rest regexps)
"A pattern that matches strings against `rx' REGEXPS in sexp form.
REGEXPS are interpreted as in `rx'. The pattern matches any